home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
l
/
letov3.0.lha
/
ARexx
/
FontGet_OS.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-04-07
|
643b
|
36 lines
/* Skrypt ARexx'a dla Leto 2.2
** Uûycie komendy FontGet [0...9]
** Funkcja ta zwraca informacje o czcionce
** Gdy taka czcionka wystëpuje wtedy rc=0, gdy jej brak to rc=1
** Gdy rc=0 to:
** LT_FontName zawiera nazwe czcionki
** LT_FontSize zawiera jej rozmiar
*/
/* address 'rexx_leto' */
Options results
CR= '0A'X /* znacznik koïca linii */
JumpTo 0
Text '*********************************'CR
Text 'Spis dostëpnych czcionek w Leto :'CR
Text '*********************************'CR
do i=0 to 9
Text 'Czcionka F'i+1':'
FontGet i
FontSet i
if rc=0 then Text LT_FontName ' o rozmiarze 'LT_FontSize''CR
else Text 'Brak'CR
end
Exit